bdd8d7d786eb787c4a0996000f47269acf638808,adal/src/androidTest/java/com/microsoft/aad/adal/MemoryTokenCacheStoreTests.java,MemoryTokenCacheStoreTests,testMemoryCacheMultipleContext,#,140
Before Change
TokenCacheItem item = contextA.getCache().getItem(CacheKey.createCacheKey(mTestItem));
assertNotNull("Token cache item is expected to be NOT null", item);
item = contextA.getCache().getItem(CacheKey.createCacheKey(mTestItem2));
assertNotNull("Token cache item is expected to be NOT null", item);
item = contextB.getCache().getItem(CacheKey.createCacheKey(mTestItem2));
assertNotNull("Token cache item is expected to be NOT null", item);
After Change
.getContext(), VALID_AUTHORITY, false, tokenCacheA);
// Verify the cache
TokenCacheItem item = contextA.getCache().getItem(CacheKey.createCacheKey(getTestItem()));
assertNotNull("Token cache item is expected to be NOT null", item);
item = contextA.getCache().getItem(CacheKey.createCacheKey(getTestItem2()));